<?php

namespace plugin\agent\app\model;

use think\Model;

/**
 * t_agent_level 分销等级
 * @property integer $id id(主键)
 * @property integer $level 等级值
 * @property string $name 等级名称
 * @property string $percent 上浮分成比例
 * @property integer $level_up_way 升级方式 1:满足任意条件 2:满足全部条件
 * @property string $config 配置信息
 * @property string $create_time 创建时间
 * @property string $update_time 更新时间
 */
class AgentLevel extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_agent_level';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
